/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cz.tpj.util;

import java.util.Enumeration;
import javax.servlet.http.HttpServletRequest;

/** Tato třída je pouze kvůli vývoji. Pak je ji třeba mymazat !!!
 *
 * @author Martin
 */
public class ForDevelop {
    public static String getAllHeaderNames(HttpServletRequest request){
        String result= "";
        String s = "";
        Enumeration<String> allHed = request.getHeaderNames();
        while(allHed.hasMoreElements()){
            s = allHed.nextElement();
            result += "<p>"+s+" = '"+request.getHeader(s)+"'</p>";
        }
        return result;
    }
}
